ServiceWorkerVersion

data class ServiceWorkerVersion(versionId: String, registrationId: RegistrationID, scriptURL: String, runningStatus: ServiceWorkerVersionRunningStatus, status: ServiceWorkerVersionStatus, scriptLastModified: Double?, scriptResponseTime: Double?, controlledClients: List<TargetID>?, targetId: TargetID?)

ServiceWorker version.

Constructors

ServiceWorkerVersion
Link copied to clipboard
fun ServiceWorkerVersion(versionId: String, registrationId: RegistrationID, scriptURL: String, runningStatus: ServiceWorkerVersionRunningStatus, status: ServiceWorkerVersionStatus, scriptLastModified: Double? = null, scriptResponseTime: Double? = null, controlledClients: List<TargetID>? = null, targetId: TargetID? = null)

Properties

controlledClients
Link copied to clipboard
val controlledClients: List<TargetID>? = null
registrationId
Link copied to clipboard
val registrationId: RegistrationID
runningStatus
Link copied to clipboard
val runningStatus: ServiceWorkerVersionRunningStatus
scriptLastModified
Link copied to clipboard
val scriptLastModified: Double? = null
The Last-Modified header value of the main script.
scriptResponseTime
Link copied to clipboard
val scriptResponseTime: Double? = null
The time at which the response headers of the main script were received from the server.
scriptURL
Link copied to clipboard
val scriptURL: String
status
Link copied to clipboard
val status: ServiceWorkerVersionStatus
targetId
Link copied to clipboard
val targetId: TargetID? = null
versionId
Link copied to clipboard
val versionId: String

Sources

jvm source
Link copied to clipboard